package com.woniuxy.controller;

import com.woniuxy.entity.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ErrorController {
    @RequestMapping("/401")
    public ResponseEntity send401(){
        return new ResponseEntity(401,"token认证失败！","");
    }
}
